<{include file="section/include/common_meta_css_js.tpl"}>
<!--site-nav star-->
<{if $disable_header_top !== TRUE}>
   <{include file="section/include/user_status.tpl"}>
<{/if}>
<!--site-nav end-->
<!--headDiv star-->
<div class="headDiv">
	<div class="area">
        

		
<script type="text/javascript">
function search_tab_submit()
{
	$('form[name=search]').submit();
	return false;
}

function search_type(type)
{
	var form = $('form[name=search]');
	var search_type = document.getElementById('search_type');
	search_type.value = type;
	if (type == 'cuxiao')
		form.attr('action', '/s/cuxiao.html');
	else if(type == 'pc')
		form.attr('action', '/s/pc.html');
	else
		form.attr('action', '/s/cuxiao.html');
}

function search_cuxiao(county,shangquan)
{
	var county = $('#select_county').val();
	var shangquan = $('#select_shangquan').val();

	var tmp  = '';
	if(county > 0)
		tmp = '/location/' + county;
	if(shangquan > 0)
		tmp = '/location/' + shangquan;

	if(tmp == '')
		location.href = '/s/cuxiao.html';
	else
		location.href = '/s/cuxiao' + tmp + '.html';
}
$(function(){
	if(window.location.href.indexOf("reg")!=-1){
		$("#navigation .nav li").eq(1).addClass("active").siblings().removeClass("active");
	}
	else if(window.location.href.indexOf("login")!=-1){
		$("#navigation .nav li").eq(0).addClass("active").siblings().removeClass("active");
	}
	
})
</script>
        
    </div>
</div>
<!--headDiv end-->
